package com.youlu.campus.admin.auth.service;

import com.youlu.campus.admin.auth.entity.SystemUser;

import org.apache.shiro.util.ByteSource;

public interface PasswordService {
    public void encryptPassword(SystemUser user);

    public boolean validPassword(SystemUser user, String oldPwd);

    public ByteSource getPasswordCredentialsSalt(SystemUser user);

    public ByteSource getCredentialsSalt(SystemUser user);
}
